package com.wxg.my.d02;

public class Main {
    public static void main(String[] args) {
        new Main().dowork();
    }

    private void dowork() {
        User user = new User();
        user.setName("龙哥");

        sayHello(user);
        System.out.println("hello world!");
    }

    private void sayHello(User user) {
        System.out.println("hello, " + user.getName());
    }
}
